using System;
using System.Collections.Generic;

using Sce.Pss.Core;
using Sce.Pss.Core.Environment;
using Sce.Pss.Core.Graphics;
using Sce.Pss.Core.Input;

namespace CleanCodeExample
{
	public class AppMain
	{
		public static void Main (string[] args)
		{
			MeineApp app = new MeineApp();
			
			app.Initialize ();

			while (app.ZustandDerApp!=AppZustand.EndApp) 
			{
				app.Wait();
				SystemEvents.CheckEvents ();				
				app.Update ();
				app.Render ();
			}
		}
	}
}
